var http=require("http");

var server=http.createServer();

server.on("request",(req,res)=>{
    res.setHeader("content-Type","text/plain;charset=utf-8");
    res.write("hello word!!!");
    res.end();
})

server.listen(5000,()=>{
    console.log(`服务启动...`);
})